package com.stylefeng.guns.modular.system.warpper;

import com.stylefeng.guns.core.base.warpper.BaseControllerWarpper;
import com.stylefeng.guns.core.common.constant.factory.ConstantFactory;

import java.util.Map;

/**
 * @Auther: Huang Yuehong
 * @Description:
 * @Date: 2018/6/14 14:50
 */
public class NewsThemeWarpper extends BaseControllerWarpper {

    public NewsThemeWarpper(Object obj) {
        super(obj);
    }

    @Override
    protected void warpTheMap(Map<String, Object> map) {
        map.put("isDelName",ConstantFactory.me().getIsDelName((Integer) map.get("is_del")));
    }
}
